Tag: programming languages

RSS Feed

Type inference that sticks

February
4,
2023
·
jerd,
compiler,
unison,
programming languages

What if type inference felt like a real-time conversation, instead of emailing code back and forth?

With type inference, compilers are faced with a difficult task: intuiting what types a user had in mind (but didn’t write down) while writing some code. It all falls apart when the types that the algorithm assigns are different from those the user expected, and especially so when the type error reported is far away from the site of mental mismatch.

8 minute read

What's cool about Unison?

March
2,
2021
·
programming languages,
unison

Unison is doing a lot of interesting things, and as I recently implemented an alternative runtime in rust, I have some insight into what’s going on under the hood 😉. Here’s my attempt to sum things up.

7 minute read